package com.app.model;

/**
 * Created with IntelliJ IDEA.
 * User: cnprinces
 * Date: 13-1-25
 * Time: 下午3:56
 * To change this template use File | Settings | File Templates.
 */

import org.hibernate.annotations.GenericGenerator;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 订单表
 */
@Entity
@Table(name = "Order_Info")
public class Order_Info implements Serializable {
    @Id
    @GenericGenerator(name = "Order_InfoGenerator", strategy = "native") //这个是hibernate的注解
    @GeneratedValue(generator = "Order_InfoGenerator") //使用uuid的生成策略
    private Integer id;
    private String orderNo;//订单编号
    private String orderType;//订单类型
    private String orderSource;//订单来源
    private String orderPay;//支付方式

    private Double orderPrice; //订单价格
    private Double orderRealPrice; //实收价格     付了多少钱
    private Integer photoCount;//相片数据 入册
    private Integer cdCount;//相片数据      入盘


    private Integer packageId;//套系id
    private String packageName;//套系名字

    private Integer inputId;//录入人
    private String inputName;//录入人

    private Integer menShiId;//门市
    private String menShiName;//门市
    private Integer sheYingShiId;//摄影师
    private String sheYingShiName;//摄影师
    private Integer huaZhuangShiId;//化妆师
    private String huaZhuangShiName;//化妆师
    private Integer shuMaShiId;//数码部
    private String shuMaShiName;//数码部

    private Integer xuanPianId;//选片人
    private String xuanPianName;//选片人
    private Integer kanYangId;//看样人
    private String kanYangName;//看样人

    private String pDescribe;  //描述
    private Integer orderState;//订单状态
    private Date createDate;//下单时间

    private Date sheYingDate;//摄影时间
    private Date xuanPianDate;//选片时间
    private Date kanYangPianDate;//看样时间
    private Date quJianPianDate;//取件时间




    public Integer getPackageId() {
        return packageId;
    }

    public void setPackageId(Integer packageId) {
        this.packageId = packageId;
    }

    public String getPackageName() {
        return packageName;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public Date getSheYingDate() {
        return sheYingDate;
    }

    public void setSheYingDate(Date sheYingDate) {
        this.sheYingDate = sheYingDate;
    }

    public Date getXuanPianDate() {
        return xuanPianDate;
    }

    public void setXuanPianDate(Date xuanPianDate) {
        this.xuanPianDate = xuanPianDate;
    }

    public Date getKanYangPianDate() {
        return kanYangPianDate;
    }

    public void setKanYangPianDate(Date kanYangPianDate) {
        this.kanYangPianDate = kanYangPianDate;
    }

    public Date getQuJianPianDate() {
        return quJianPianDate;
    }

    public void setQuJianPianDate(Date quJianPianDate) {
        this.quJianPianDate = quJianPianDate;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderSource() {
        return orderSource;
    }

    public void setOrderSource(String orderSource) {
        this.orderSource = orderSource;
    }

    public String getOrderPay() {
        return orderPay;
    }

    public void setOrderPay(String orderPay) {
        this.orderPay = orderPay;
    }

    public Double getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Double orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Double getOrderRealPrice() {
        return orderRealPrice;
    }

    public void setOrderRealPrice(Double orderRealPrice) {
        this.orderRealPrice = orderRealPrice;
    }

    public Integer getPhotoCount() {
        return photoCount;
    }

    public void setPhotoCount(Integer photoCount) {
        this.photoCount = photoCount;
    }

    public Integer getCdCount() {
        return cdCount;
    }

    public void setCdCount(Integer cdCount) {
        this.cdCount = cdCount;
    }

    public Integer getInputId() {
        return inputId;
    }

    public void setInputId(Integer inputId) {
        this.inputId = inputId;
    }

    public String getInputName() {
        return inputName;
    }

    public void setInputName(String inputName) {
        this.inputName = inputName;
    }

    public Integer getMenShiId() {
        return menShiId;
    }

    public void setMenShiId(Integer menShiId) {
        this.menShiId = menShiId;
    }

    public String getMenShiName() {
        return menShiName;
    }

    public void setMenShiName(String menShiName) {
        this.menShiName = menShiName;
    }

    public Integer getSheYingShiId() {
        return sheYingShiId;
    }

    public void setSheYingShiId(Integer sheYingShiId) {
        this.sheYingShiId = sheYingShiId;
    }

    public String getSheYingShiName() {
        return sheYingShiName;
    }

    public void setSheYingShiName(String sheYingShiName) {
        this.sheYingShiName = sheYingShiName;
    }

    public Integer getHuaZhuangShiId() {
        return huaZhuangShiId;
    }

    public void setHuaZhuangShiId(Integer huaZhuangShiId) {
        this.huaZhuangShiId = huaZhuangShiId;
    }

    public String getHuaZhuangShiName() {
        return huaZhuangShiName;
    }

    public void setHuaZhuangShiName(String huaZhuangShiName) {
        this.huaZhuangShiName = huaZhuangShiName;
    }

    public Integer getShuMaShiId() {
        return shuMaShiId;
    }

    public void setShuMaShiId(Integer shuMaShiId) {
        this.shuMaShiId = shuMaShiId;
    }

    public String getShuMaShiName() {
        return shuMaShiName;
    }

    public void setShuMaShiName(String shuMaShiName) {
        this.shuMaShiName = shuMaShiName;
    }

    public Integer getXuanPianId() {
        return xuanPianId;
    }

    public void setXuanPianId(Integer xuanPianId) {
        this.xuanPianId = xuanPianId;
    }

    public String getXuanPianName() {
        return xuanPianName;
    }

    public void setXuanPianName(String xuanPianName) {
        this.xuanPianName = xuanPianName;
    }

    public Integer getKanYangId() {
        return kanYangId;
    }

    public void setKanYangId(Integer kanYangId) {
        this.kanYangId = kanYangId;
    }

    public String getKanYangName() {
        return kanYangName;
    }

    public void setKanYangName(String kanYangName) {
        this.kanYangName = kanYangName;
    }

    public String getpDescribe() {
        return pDescribe;
    }

    public void setpDescribe(String pDescribe) {
        this.pDescribe = pDescribe;
    }

    public Integer getOrderState() {
        return orderState;
    }

    public void setOrderState(Integer orderState) {
        this.orderState = orderState;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
